cmake_minimum_required(VERSION 3.20 )

project(test2)

find_package(Eigen3 REQUIRED)

include_directories(${EIGEN3_INCLUDE_DIRS})

add_executable(test2 main.cpp)

set(CMAKE_CXX_STANDARD 14)


target_link_libraries(test2
        ${Eigen3_LIBS})